import { template } from "lodash";
import { prefix } from "../../scenario/constant/prefix";
export default {
  execute: {
    url: `${prefix}equipment/execute/safeguard`,
    method: "post",
    data: {},
  },
  getExecuteStatus: {
    url: `${prefix}equipment/query/safeguard`,
    method: "post",
    data: {},
  },
  patrolExecute: {
    url: `${prefix}equipment/execute/checkPlan`,
    method: "post",
    data: {},
  },
  patrolExecuteStatus: {
    url: `${prefix}equipment/query/checkPlan`,
    method: "post",
    data: {},
  },
  repairExecute: {
    url: `${prefix}equipment/execute/repair`,
    method: "post",
    data: {},
  },
  addCostRecord: {
    url: `${prefix}custom/addCostRecord`,
    method: "post",
    data: {},
  },
  //------------------------------能源-------------------------
  energyEstimation: {
    url: `${prefix}energy/estimation`,
    method: "post",
    data: {},
  },
  meterRecord: {
    url: `${prefix}energy/meterRecord`,
    method: "post",
    data: {},
  },
  //设备耗能新增
  energyConsume: {
    url: `${prefix}energy/energyConsume`,
    method: "post",
    data: {},
  },
  //能耗项统计
  consumeCount: {
    url: `${prefix}energy/consumeCount`,
    method: "post",
    data: {},
  },
  energyReport: {
    url: `${prefix}energy/energyReport`,
    method: "post",
    data: {},
  },
  //能源监控
  energyMonitor: {
    url: `${prefix}energy/energyStat`,
    method: "post",
    data: {},
  },
  //能源分析
  energyAnalysis: {
    url: `${prefix}energy/energyAnalysis`,
    method: "post",
    data: {},
  },
  //能源实例点位
  energyPoint: {
    url: `${prefix}energy/queryEnergyByEqu`,
    method: "post",
    data: {},
  },
  //能源柱饼线
  energyBPL: {
    url: `${prefix}energy/energyAnalysisByEquipment`,
    method: "post",
    data: {},
  },
  //能源折现+列表
  energyLineTable: {
    url: `${prefix}energy/energyStatByPointer`,
    method: "post",
    data: {},
  },
  //能源介质查询
  energyMediumQuery: {
    url: `${prefix}quantityStatistics/queryProductBatchNoStatistics`,
    method: "post",
    data: {},
  },
  //能源对比
  energyCompare: {
    url: `${prefix}energy/energyKanBanByPointer`,
    method: "post",
    data: {},
  },
  //根据车间获取设备
  getEquipByWorkShop: {
    url: `${prefix}energy/queryEquipmentByWorkShop`,
    method: "post",
    data: {},
  },
  //根据计划获取通知单
  getNoticeByPlan: {
    url: `${prefix}quantityStatistics/queryNoticeNoByPlanNo`,
    method: "post",
    data: {},
  },
  //能源看板
  energyCard: {
    url: `${prefix}energy/energyStatByEquipment`,
    method: "post",
    data: {},
  },
  energySingleLine: {
    url: `${prefix}energy/queryEnergyUseQuantity`,
    method: "post",
    data: {},
  },
  //------------------------------能源-------------------------

  //------------------------------线边库-------------------------
  //库位转移
  locationTrans: {
    url: `${prefix}storehouse/trans`,
    method: "post",
    data: {},
  },
  //批次变更
  batchNoChange: {
    url: `${prefix}storehouse/change`,
    method: "post",
    data: {},
  },
  //调拨单新增修改
  allot: {
    url: `${prefix}storehouse/allot`,
    method: "post",
    data: {},
  },
  //其他入库新增修改
  allotNoOut: {
    url: `${prefix}storehouse/allotNoOut`,
    method: "post",
    data: {},
  },
  //批次号查询
  queryBatch: {
    url: `${prefix}storehouse/queryBatch`,
    method: "post",
    data: {},
  },
  //库位清除占用
  locationClear: {
    url: `${prefix}storehouse/clear`,
    method: "post",
    data: {},
  },
  //重新调拨
  allotAgain: {
    url: `${prefix}storehouse/allotAgain`,
    method: "post",
    data: {},
  },
  //------------------------------线边库-------------------------
  //------------------------------安全-------------------------
  //应急资源管理查询
  securityQuery: {
    url: `${prefix}security/statusQuery`,
    method: "post",
    data: {},
  },
  //------------------------------安全-------------------------
  //------------------------------小程序/公众号-------------------------
  //小程序下发通知
  mobileNotice: {
    // url: `${prefix}wx/send`,  //小程序
    url: `${prefix}wxAcc/send`, //公众号
    method: "post",
    data: {},
  },
  //------------------------------小程序/公众号-------------------------
  //------------------------------首页---------------------------
  //产量
  getProduction: {
    url: `${prefix}mainPage/output`,
    method: "post",
    data: {},
  },
  //班组
  getTeam: {
    url: `${prefix}mainPage/team`,
    method: "post",
    data: {},
  },
  //订单
  getOrder: {
    url: `${prefix}mainPage/order`,
    method: "post",
    data: {},
  },
  //质量检测
  getQuality: {
    url: `${prefix}mainPage/quality`,
    method: "post",
    data: {},
  },
  //设备运行状态
  getEquipData: {
    url: `${prefix}mainPage/equip`,
    method: "post",
    data: {},
  },
  //产量统计报表根据，产品，时间，返回本月每台设备每天的产量
  queryOutputByEquip: {
    url: `${prefix}mainPage/outputByEquip`,
    method: "post",
    data: {},
  },
  //------------------------------报表---------------------------
  //生产异常汇总表
  queryAbnormalReport: {
    url: `${prefix}mainReport/queryAbnormalReport`,
    method: "post",
    data: {},
  },
  //生产领退料汇总表
  queryPickAndReturnReport: {
    url: `${prefix}mainReport/queryPickAndReturnReport`,
    method: "post",
    data: {},
  },
  //生产产量汇总表
  productionReport: {
    url: `${prefix}mainReport/productionReport`,
    method: "post",
    data: {},
  },
  //人员生产产量汇总表
  peopleProductionReport: {
    url: `${prefix}mainReport/peopleProductionReport`,
    method: "post",
    data: {},
  },
  //统计产品订单数据，根据开始结束实际返回数据
  wProcessOrderReport: {
    url: `${prefix}mainReport/wProcessOrderReport`,
    method: "post",
    data: {},
  },
  //统计产品订单数据，根据开始结束实际返回数据
  wcProcessOrderReport: {
    url: `${prefix}mainReport/wcProcessOrderReport`,
    method: "post",
    data: {},
  },
  //统计现有钨粉
  wExistReport: {
    url: `${prefix}mainReport/wExistReport`,
    method: "post",
    data: {},
  },
  //统计现有碳化钨粉
  wcExistReport: {
    url: `${prefix}mainReport/wcExistReport`,
    method: "post",
    data: {},
  },
  //统计合批钨粉
  wMixtureReport: {
    url: `${prefix}mainReport/wMixtureReport`,
    method: "post",
    data: {},
  },
  //统计合批碳化钨粉
  wcMixtureReport: {
    url: `${prefix}mainReport/wcMixtureReport`,
    method: "post",
    data: {},
  },
  //统计配碳钨粉
  wCarbonReport: {
    url: `${prefix}mainReport/wCarbonReport`,
    method: "post",
    data: {},
  },

  //统计产品合格率
  queryQualityReport: {
    url: `${prefix}quality/report`,
    method: "post",
    data: {},
  },

  //------------------------------首页---------------------------
  //------------------------------主工艺-------------------------
  //报工入库接口
  workReport: {
    url: `${prefix}storehouse/main/workReport`,
    method: "post",
    data: {},
  },
  //领料接口
  draw: {
    url: `${prefix}storehouse/main/draw`,
    method: "post",
    data: {},
  },
  //退料接口
  back: {
    url: `${prefix}storehouse/main/back`,
    method: "post",
    data: {},
  },
  //退空桶接口
  empty: {
    url: `${prefix}storehouse/main/empty`,
    method: "post",
    data: {},
  },
  //用料接口(暂未用)
  use: {
    url: `${prefix}storehouse/main/use`,
    method: "post",
    data: {},
  },
  //上料接口
  load: {
    url: `${prefix}storehouse/main/load `,
    method: "post",
    data: {},
  },
  //放行接口
  pass: {
    url: `${prefix}storehouse/main/pass `,
    method: "post",
    data: {},
  },
  //筛上物入库接口
  sieveWorkReport: {
    url: `${prefix}storehouse/sieveWorkReport `,
    method: "post",
    data: {},
  },
  //批次号查询
  queryMainBatch: {
    url: `${prefix}storehouse/main/queryBatch`,
    method: "post",
    data: {},
  },
  //------------------------------线边库-------------------------
  //------------------------------车间库位占用列表查询-------------------------
  //批次号查询
  storeQuery: {
    url: `${prefix}storehouse/queryUseInfo`,
    method: "post",
    data: {},
  },
  //------------------------------成本-------------------------
  //计算本月生产钨粉投入量
  queryWCostInput: {
    url: `${prefix}cost/queryWCostInput`,
    method: "post",
    data: {},
  },
  //计算本月生产钨粉产量
  queryWCostOutput: {
    url: `${prefix}cost/queryWCostOutput`,
    method: "post",
    data: {},
  },
  //计算本月生产碳化钨粉投入量
  queryWCCostInput: {
    url: `${prefix}cost/queryWCCostInput`,
    method: "post",
    data: {},
  },
  //计算本月炭黑投入量
  queryCCostInput: {
    url: `${prefix}cost/queryCCostInput`,
    method: "post",
    data: {},
  },
  //计算本月生产碳化钨粉产量
  queryWCCostOutput: {
    url: `${prefix}cost/queryWCCostOutput`,
    method: "post",
    data: {},
  },
  //物料管理中同步物料
  syncMaterial: {
    url: `${prefix}mainPage/syncMaterial`,
    method: "post",
    data: {},
  },
  //大屏-销售订单
  orderScreen: {
    url: `${prefix}mainPage/orderScreen`,
    method: "post",
    data: {},
  },
  // 大屏-应急指挥中心
  safeScreen: {
    url: `${prefix}mainPage/safeScreen`,
    method: "post",
    data: {},
  },
  // 车间-标语、视频录入
  videoUpload: {
    url: `${prefix}mainPage/videoUpload`,
    method: "post",
    data: {},
  },
  // 车间-标语、视频查询
  videoSearch: {
    url: `${prefix}mainPage/videoSearch`,
    method: "post",
    data: {},
  },
  //中粗粉还原工段等
  workSectionScreen: {
    url: `${prefix}mainPage/workSectionScreen`,
    method: "post",
    data: {},
  },
  // 应急指挥视频一
  safeVideoUpload: {
    url: `${prefix}mainPage/safeVideoUpload`,
    method: "post",
    data: {},
  },
  // 应急指挥视频二
  safeVideoSearch: {
    url: `${prefix}mainPage/safeVideoSearch`,
    method: "post",
    data: {},
  },

  //------------------------------统计-------------------------
  // 计算工作中心完结统计数据
  workCenterFinishStatistics: {
    url: `${prefix}workCenterStatistics/workCenterFinishStatistics`,
    method: "post",
    data: {},
  },
  //------------------------------生命周期状态-------------------------
  // 更新订单状态
  setSaleOrderStatus: {
    url: `${prefix}lifeCycle/setSaleOrderStatus`,
    method: "post",
    data: {},
  },
  // 更新通知单状态
  setOrderStatus: {
    url: `${prefix}lifeCycle/setOrderStatus`,
    method: "post",
    data: {},
  },
  // 更新计划状态
  setPlanStatus: {
    url: `${prefix}lifeCycle/setPlanStatus`,
    method: "post",
    data: {},
  },
  // 更新产物状态
  setProductStatus: {
    url: `${prefix}lifeCycle/setProductStatus`,
    method: "post",
    data: {},
  },
  // 处理质检通知数据并更新
  setQualityNoticeStatus: {
    url: `${prefix}lifeCycle/setQualityNoticeStatus`,
    method: "post",
    data: {},
  },
  // 处理质检采样数据并更新
  setQualitySampleStatus: {
    url: `${prefix}lifeCycle/setQualitySampleStatus`,
    method: "post",
    data: {},
  },
  // 处理质检结果数据并更新
  setQualityRecordStatus: {
    url: `${prefix}lifeCycle/setQualityRecordStatus`,
    method: "post",
    data: {},
  },
  // 处理质检结果判定数据并更新
  setQualityResultStatus: {
    url: `${prefix}lifeCycle/setQualityResultStatus`,
    method: "post",
    data: {},
  },
  maintenanceOfEquipment: {
    url: `${prefix}inspection/queryEquipmentCheckTemByEquId`,
    method: "post",
    data: {},
  },
  executePlan: {
    url: `${prefix}inspection/executeCheckPlan`,
    method: "post",
    data: {},
  },
  entityDeleteByIds: {
    url: `${prefix}entityUtil/deleteIdsUnregister`,
    method: "post",
    data: {},
  },
  templateDeleteByIds: {
    url: `${prefix}templateUtil/deleteIdsUnregisterUnSubscribe`,
    method: "post",
    data: {},
  },
  approveCheckPlan: {
    url: `${prefix}inspection/approveCheckPlan`,
    method: "post",
    data: {},
  },

  queryEquipmentSpotTemByEquId: {
    url: `${prefix}inspection/queryEquipmentSpotTemByEquId`,
    method: "post",
    data: {},
  },
  queryEquipmentMaintainTemByEquId: {
    url: `${prefix}inspection/queryEquipmentMaintainTemByEquId`,
    method: "post",
    data: {},
  },
  
};
